#ifndef COVERDELEGATE_H
#define COVERDELEGATE_H

#include <QStyledItemDelegate>

class CoverDelegate : public QStyledItemDelegate
{
public:
    void paint(QPainter *painter, const QStyleOptionViewItem &option,
               const QModelIndex &index) const;

    QSize sizeHint(const QStyleOptionViewItem & option, const QModelIndex & index);
};

#endif // COVERDELEGATE_H
